#ifndef PORTMACRO_H
#define PORTMACRO_H
#include "stdio.h"
#include "stddef.h"
#include "FreeRTOSConfig.h"

#define portCHAR char
#define portFLOAT float
#define portDOUBLE   double
#define portLONG long
#define portSHORT short
#define portSTACK_TYPE uint32_t
#define portBAST_TYPE   long

typedef portSTACK_TYPE StackType_t;
typedef long BaseType_t;
typedef unsigned long UBaseType_t;

#ifdef (configUSE_16_BIT_TICKS==1)
typedef uint16_t TickType_t;
#define portMAX_DELAY (TickType_t) 0xFFFF;
#else 
typedef uint32_t TickType_t;
#define portMAX_DELAY (TickType_t) 0xFFFFFFFFUL;
#endif

#endif
